Skip to content

[fix #321] Fixes the crash when the user opens the app while offline#322

Open
alialamine wants to merge 1 commit intofullstackreact:masterfrom
alialamine:fix-crash-on-offline
Open

[fix #321] Fixes the crash when the user opens the app while offline#322
alialamine wants to merge 1 commit intofullstackreact:masterfrom
alialamine:fix-crash-on-offline

Conversation

@alialamine
Copy link

This bug happens because firebase tries to login 3 times if the user is offline. Because of this the callback will be called several times (2 times more than it should).

This will catch the exception from it so that the callback doesn't crash if this happens (just show the error)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant